--- libavcodec/libfdk-aacenc.c.orig	2017-02-10 23:25:26.000000000 +1000
+++ libavcodec/libfdk-aacenc.c	2018-12-10 07:59:22.515000000 +1000
@@ -286,7 +286,7 @@
     }
 
     avctx->frame_size = info.frameLength;
-    avctx->initial_padding = info.encoderDelay;
+    avctx->initial_padding = info.nDelay;
     ff_af_queue_init(avctx, &s->afq);
 
     if (avctx->flags & AV_CODEC_FLAG_GLOBAL_HEADER) {
